package ua.kpi_java_training.zabrodskyi.module3;

/**
 * The class describes a barrier in environment.
 * 
 * @author Maksym Zabrodskyi
 * @version 24-Jun-2013
 */
public class Barrier extends Obstacle {

	/**
	 * The barrier is created in a certain cell within the environment sizes.
	 * 
	 * @param cell
	 *            - free and correct cell in environment.
	 */
	public Barrier(Cell cell) {
		super(cell);
	}

	/**
	 * Returns type of an element of this copy of a class.
	 * 
	 * @return type the Barrier.
	 */
	@Override
	public ElementType getType() {
		return ElementType.BARRIER;
	}

}
